﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Method
{
    class Book
    {

        public string ISBN { get; set; }
        public string BookName { get; set; }
        public int Price { get; set; }
        public string Press { get; set; }
        public string Writer { get; set; }

        public Book() { }
        public void book()
        {
            Console.WriteLine("书号：{0}，书名：{1}，价格：{2}，出版社：{3}，作者：{4}。",
                this.ISBN,this.BookName,this.Price,this.Press,this.Writer);
        }
    }
}
